home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- from gimpfu import *
-
- def code_eval(code):
- if code == '-':
- import sys
- code = sys.stdin
-
- exec code in globals()
-
- register('python-fu-eval', 'Evaluate Python code', 'Evaluate python code under the python interpreter (primarily for batch mode)', 'Manish Singh', 'Manish Singh', '2006', None, None, [
- (PF_STRING, 'code', 'The code to evaluate', '')], [], code_eval)
- main()
-